<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>课堂作业1</title>
</head>

<body>

</body>
<script>
    let arr2 = [2, 8, 4, 10, 6];
    // 1.arr2的数据都大于5吗？
    let res = arr2.every(function (item) {
        return item >= 5
    })

    console.log(res,111);
</script>

</html>